﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Service.UpdateService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Service.UpdateService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="UpdateSchedule">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Files" nillable="true" type="tns:ArrayOfUpdateFile" />
      <xs:element minOccurs="0" name="FromVersion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsNecessary" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Mode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TargetVersion" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UpdateSchedule" nillable="true" type="tns:UpdateSchedule" />
  <xs:complexType name="ArrayOfUpdateFile">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="UpdateFile" nillable="true" type="tns:UpdateFile" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUpdateFile" nillable="true" type="tns:ArrayOfUpdateFile" />
  <xs:complexType name="UpdateFile">
    <xs:sequence>
      <xs:element minOccurs="0" name="FilePath" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Size" type="xs:long" />
      <xs:element minOccurs="0" name="TargetFilePath" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UpdateFile" nillable="true" type="tns:UpdateFile" />
  <xs:complexType name="UpdateResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Data" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Size" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UpdateResult" nillable="true" type="tns:UpdateResult" />
</xs:schema>